﻿
Public Class Reserva


    Private _idReserva As Integer
    Public Property idReserva() As Integer
        Get
            Return _idReserva
        End Get
        Set(ByVal value As Integer)
            _idReserva = value
        End Set
    End Property

    Private _idInmueble
    Public Property idInmueble() As Integer
        Get
            Return _idInmueble
        End Get
        Set(ByVal value As Integer)
            _idInmueble = value
        End Set
    End Property

    Private _idEstudiante
    Public Property idEstudiante() As Integer
        Get
            Return _idEstudiante
        End Get
        Set(ByVal value As Integer)
            _idEstudiante = value
        End Set
    End Property

    Private _FechaInicio As Date
    Public Property FechaInicio() As Date
        Get
            Return _FechaInicio
        End Get
        Set(ByVal value As Date)
            _FechaInicio = value
        End Set
    End Property

    Private _FechaFin As Date
    Public Property FechaFin() As Date
        Get
            Return _FechaFin
        End Get
        Set(ByVal value As Date)
            _FechaFin = value
        End Set
    End Property

    Private _fechaconfirmacion As Date
    Public Property fechaconfirmacion() As Date
        Get
            Return _fechaconfirmacion
        End Get
        Set(ByVal value As Date)
            _fechaconfirmacion = value
        End Set
    End Property

    Private _TipoPago As String
    Public Property TipoPago() As String
        Get
            Return _TipoPago
        End Get
        Set(ByVal value As String)
            _TipoPago = value
        End Set
    End Property

    'Una reserva pertenece a un estudiante
    'Una reserva pertenece a un inmueble
    'Una reserva pertenece a un dueño
    'Private _Inmueble As Inmueble
    'Public Property Inmueble() As Inmueble
    '    Get
    '        Return _Inmueble
    '    End Get
    '    Set(ByVal value As Inmueble)
    '        _Inmueble = value
    '    End Set
    'End Property

    'Private _Estudiante As Estudiante
    'Public Property Estudiante() As Estudiante
    '    Get
    '        Return _Estudiante
    '    End Get
    '    Set(ByVal value As Estudiante)
    '        _Estudiante = value
    '    End Set
    'End Property


    'Private _Nombres As String
    'Public Property Nombres() As String
    '    Get
    '        Return _Nombres
    '    End Get
    '    Set(ByVal value As String)
    '        _Nombres = value
    '    End Set
    'End Property

    'Private _TipoInmueble
    'Public Property TipoInmueble() As String
    '    Get
    '        Return _TipoInmueble
    '    End Get
    '    Set(ByVal value As String)
    '        _TipoInmueble = value
    '    End Set
    'End Property

End Class